const TokenController = require('../controllers/TokenController')

module.exports = async (req, res) => {
	const token = await TokenController.token()
	res.json(token)
}